import Foundation

// --Specify export items here--
let exportDirs=[
    ExportDir(label: "Ringtones", path: ringtoneDir),
    ExportDir(label: "Notifications", path: alertDir)
]

// Type definitions
struct ExportDir: Identifiable{
    var id=UUID()
    var label: String
    var path: String
}
var ringtoneDir: String {
    if ProcessInfo.processInfo.isMacCatalystApp{
        return "/System/Library/PrivateFrameworks/ToneLibrary.framework/Resources/Ringtones"
    }else{
        return "/Library/Ringtones"
    }
}
var alertDir: String{
    if ProcessInfo.processInfo.isMacCatalystApp{
        return "/System/Library/PrivateFrameworks/ToneLibrary.framework/Resources/AlertTones"
    }else{
        return "/System/Library/PrivateFrameworks/ToneLibrary.framework/AlertTones"
    }
}
